<?php
/*  
 *  Project lonely
 *  Author: Fvcity dev Team
 *  File: /lonely/single.php
 *
 *  Subversion Keywords:
 *  $Id: single.php 19 2007-07-05 05:21:52Z fvcity.roy $
 *  $Date: 2007-07-05 05:21:52 +0000 (Thu, 05 Jul 2007) $
 *  $Revision: 19 $
 *  $Author: fvcity.roy $
 *  $URL: http://fvcity.googlecode.com/svn/trunk/single.php $
 */
 ?>

<?php get_header(); ?>

<!-- side sc start -->
<div class="sc">

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

 <div class="postdate">
 <div class="month"><?php the_time('M'); ?></div>
 <div class="day"><?php the_time('d'); ?></div>
 </div>
 	 
 <div class="posthead"><h1><a href="#"></a><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  <p class="postinfo"><span class="postauthor"> <?php the_author() ?></span> <span class="postcategory"> <?php the_category(', ') ?></span> <?php if( $wp_version =="2.3-alpha" ||$wp_version >="2.3" ) { ?><?php the_tags('<span class="tag_content">Tags:</span>', ', ', ''); ?><?php } else { ?><?php if ( (function_exists('UTW_ShowTagsForCurrentPost')) ) { ?><?php UTW_ShowTagsForCurrentPost("commalist") ?><?php }?><?php }?> <?php edit_post_link('<span class="edit_post">Edit</span>', ''); ?></p>
</div>
  
<div class="postcontent">
  <?php the_content('Read the rest of this entry &raquo;'); ?>
</div>

<ul class="post_bottom">
<li><li>
<li><span class="comments_number">(<?php comments_only_number('0', '1', '%'); ?>) | <a href="<?php echo get_permalink() ?>#respond" title="添加评论"><strong>添加评论</strong></a></span></li>
<li><span class="get_permalink"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php echo get_permalink() ?></a></span></li>
</ul>
<?php comments_template(); ?>
<?php endwhile; ?>
		
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>

<?php endif; ?> 

</div>
	
<?php get_sidebar(); ?>
<?php get_footer(); ?>
